package com.robotserver.orders.entity;


import java.io.Serializable;

/**
 * tb_orders
 * @author 
 */
public class TbOrders extends BaseEntity{
    /**
     * 订单在淘宝拍下付款的时间
     */
    private Integer tbPaidTime;

    /**
     * 订单付款的时间，该时间同步淘宝，可能会略晚于买家在淘宝的订单创建时间
     */
    private Integer tkPaidTime;

    /**
     * 买家确认收货的付款金额[分]（不包含运费金额）
     */
    private Integer payPrice;

    /**
     * 预估收入[分]
     */
    private Integer pubShareFee;

    /**
     * 子订单号
     */
    private String tradeId;

    /**
     * 	二方：佣金收益的第一归属者； 三方：从其他淘宝客佣金中进行分成的推广者
     */
    private Long tkOrderRole;

    /**
     * 订单确认收货后且商家完成佣金支付的时间
     */
    private Integer tkEarningTime;

    /**
     * 推广位管理下的推广位名称对应的ID，同时也是pid=mm_1_2_3中的“3”这段数字
     */
    private Long adzoneId;

    /**
     * 从结算佣金中分得的收益比率
     */
    private Double pubShareRate;

    /**
     * 维权标签，0 含义为非维权 1 含义为维权订单
     */
    private Integer refundTag;

    /**
     * 平台给与的补贴比率
     */
    private Double subsidyRate;

    /**
     * 提成=收入比率*分成比率。指实际获得收益的比率
     */
    private Double tkTotalRate;

    /**
     * 商品所属的根类目，即一级类目的名称
     */
    private String itemCategoryName;

    /**
     * 掌柜旺旺
     */
    private String sellerNick;

    /**
     * 推广者的会员id
     */
    private Long pubId;

    /**
     * 推广者赚取佣金后支付给阿里妈妈的技术服务费用的比率
     */
    private Double alimamaRate;

    /**
     * 平台出资方，如天猫、淘宝、或聚划算等
     */
    private String subsidyType;

    /**
     * 商品图片
     */
    private String itemImg;

    /**
     * 付款预估收入[分]
     */
    private Integer pubSharePreFee;

    /**
     * 买家拍下付款的金额[分]（不包含运费金额）
     */
    private Integer alipayTotalPrice;

    /**
     * 商品标题
     */
    private String itemTitle;

    /**
     * 媒体管理下的对应ID的自定义名称
     */
    private String siteName;

    /**
     * 商品数量
     */
    private Long itemNum;

    /**
     * 补贴金额=结算金额*补贴比率
     */
    private Integer subsidyFee;

    /**
     * 技术服务费
     */
    private Integer alimamaShareFee;

    /**
     * 父订单号
     */
    private String tradeParentId;

    /**
     * 订单所属平台类型，包括天猫、淘宝、聚划算等
     */
    private String orderType;

    /**
     * 订单创建的时间
     */
    private Integer tkCreateTime;

    /**
     * 产品类型
     */
    private String flowSource;

    /**
     * 成交平台
     */
    private String terminalType;

    /**
     * 通过推广链接达到商品、店铺详情页的点击时间
     */
    private Integer clickTime;

    /**
     * 已付款：指订单已付款，但还未确认收货 已收货：指订单已确认收货，但商家佣金未支付 已结算：指订单已确认收货，且商家佣金已支付成功 已失效：指订单关闭/订单佣金小于0.01元，订单关闭主要有：1）买家超时未付款； 2）买家付款前，买家/卖家取消了订单；3）订单付款后发起售中退款成功；3：订单结算，12：订单付款， 13：订单失效，14：订单成功
     */
    private Integer tkStatus;

    /**
     * 商品单价
     */
    private Integer itemPrice;

    /**
     * 商品id
     */
    private String itemId;

    /**
     * 推广位管理下的自定义推广位名称
     */
    private String adzoneName;

    /**
     * 佣金比率
     */
    private Double totalCommissionRate;

    /**
     * 商品链接
     */
    private String itemLink;

    /**
     * 媒体管理下的ID，同时也是pid=mm_1_2_3中的“2”这段数字
     */
    private Long siteId;

    /**
     * 店铺名称
     */
    private String sellerShopTitle;

    /**
     * 订单结算的佣金比率+平台的补贴比率
     */
    private Double incomeRate;

    /**
     * 佣金金额
     */
    private Integer totalCommissionFee;

    /**
     * 预估专项服务费
     */
    private Integer tkCommissionPreFeeForMediaPlatform;

    /**
     * 结算专项服务费
     */
    private Integer tkCommissionFeeForMediaPlatform;

    /**
     * 专项服务费率
     */
    private Double tkCommissionRateForMediaPlatform;

    /**
     * 会员运营id
     */
    private Long specialId;

    /**
     * 渠道关系id
     */
    private Long relationId;

    /**
     * 预售时期,用户对预售商品支付定金的付款时间，可能略晚于在淘宝付定金时间
     */
    private Integer tkDepositTime;

    /**
     * 预售时期,用户对预售商品支付定金的付款时间
     */
    private Integer tbDepositTime;

    /**
     * 预售时期，用户对预售商品支付的定金金额
     */
    private Integer depositPrice;

    /**
     * 开发者调用api的appkey
     */
    private String appKey;

    /**
     * 口碑子订单号
     */
    private String alscId;

    /**
     * 口碑父订单号
     */
    private String alscPid;

    /**
     * 专项服务费率
     */
    private String shareRelativeRate;

    /**
     * 结算专项服务费
     */
    private String shareFee;

    /**
     * 预估专项服务费
     */
    private String sharePreFee;

    /**
     * 专项服务费来源，122-渠道
     */
    private Integer tkShareRoleType;

    /**
     * 激励池对应的rid
     */
    private String lxRid;

    /**
     * 订单是否为激励池订单 1，表征是 0，表征否
     */
    private String isLx;

    /**
     * 营销类型，例如淘礼金(自助充值)
     */
    private String marketingType;

    /**
     * 订单更新时间 例如："2021-04-27 14:07:28"
     */
    private Integer modifiedTime;

    /**
     * 订单状态(0订单付款 1订单结算 2订单失效 3维权退款 4无效订单[未支付等情况])
     */
    private Integer bizStatus;

    /**
     * 阿里妈妈userid
     */
    private String alimmUserId;

    /**
     * 阿里妈妈username
     */
    private String alimmUserName;

    private String pid;




    @Override
    protected Serializable pkVal() {
        return this.getId();
    }

    public Integer getTbPaidTime() {
        return tbPaidTime;
    }

    public void setTbPaidTime(Integer tbPaidTime) {
        this.tbPaidTime = tbPaidTime;
    }

    public Integer getTkPaidTime() {
        return tkPaidTime;
    }

    public void setTkPaidTime(Integer tkPaidTime) {
        this.tkPaidTime = tkPaidTime;
    }

    public Integer getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(Integer payPrice) {
        this.payPrice = payPrice;
    }

    public Integer getPubShareFee() {
        return pubShareFee;
    }

    public void setPubShareFee(Integer pubShareFee) {
        this.pubShareFee = pubShareFee;
    }

    public String getTradeId() {
        return tradeId;
    }

    public void setTradeId(String tradeId) {
        this.tradeId = tradeId;
    }

    public Long getTkOrderRole() {
        return tkOrderRole;
    }

    public void setTkOrderRole(Long tkOrderRole) {
        this.tkOrderRole = tkOrderRole;
    }

    public Integer getTkEarningTime() {
        return tkEarningTime;
    }

    public void setTkEarningTime(Integer tkEarningTime) {
        this.tkEarningTime = tkEarningTime;
    }

    public Long getAdzoneId() {
        return adzoneId;
    }

    public void setAdzoneId(Long adzoneId) {
        this.adzoneId = adzoneId;
    }

    public Double getPubShareRate() {
        return pubShareRate;
    }

    public void setPubShareRate(Double pubShareRate) {
        this.pubShareRate = pubShareRate;
    }

    public Integer getRefundTag() {
        return refundTag;
    }

    public void setRefundTag(Integer refundTag) {
        this.refundTag = refundTag;
    }

    public Double getSubsidyRate() {
        return subsidyRate;
    }

    public void setSubsidyRate(Double subsidyRate) {
        this.subsidyRate = subsidyRate;
    }

    public Double getTkTotalRate() {
        return tkTotalRate;
    }

    public void setTkTotalRate(Double tkTotalRate) {
        this.tkTotalRate = tkTotalRate;
    }

    public String getItemCategoryName() {
        return itemCategoryName;
    }

    public void setItemCategoryName(String itemCategoryName) {
        this.itemCategoryName = itemCategoryName;
    }

    public String getSellerNick() {
        return sellerNick;
    }

    public void setSellerNick(String sellerNick) {
        this.sellerNick = sellerNick;
    }

    public Long getPubId() {
        return pubId;
    }

    public void setPubId(Long pubId) {
        this.pubId = pubId;
    }

    public Double getAlimamaRate() {
        return alimamaRate;
    }

    public void setAlimamaRate(Double alimamaRate) {
        this.alimamaRate = alimamaRate;
    }

    public String getSubsidyType() {
        return subsidyType;
    }

    public void setSubsidyType(String subsidyType) {
        this.subsidyType = subsidyType;
    }

    public String getItemImg() {
        return itemImg;
    }

    public void setItemImg(String itemImg) {
        this.itemImg = itemImg;
    }

    public Integer getPubSharePreFee() {
        return pubSharePreFee;
    }

    public void setPubSharePreFee(Integer pubSharePreFee) {
        this.pubSharePreFee = pubSharePreFee;
    }

    public Integer getAlipayTotalPrice() {
        return alipayTotalPrice;
    }

    public void setAlipayTotalPrice(Integer alipayTotalPrice) {
        this.alipayTotalPrice = alipayTotalPrice;
    }

    public String getItemTitle() {
        return itemTitle;
    }

    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public Long getItemNum() {
        return itemNum;
    }

    public void setItemNum(Long itemNum) {
        this.itemNum = itemNum;
    }

    public Integer getSubsidyFee() {
        return subsidyFee;
    }

    public void setSubsidyFee(Integer subsidyFee) {
        this.subsidyFee = subsidyFee;
    }

    public Integer getAlimamaShareFee() {
        return alimamaShareFee;
    }

    public void setAlimamaShareFee(Integer alimamaShareFee) {
        this.alimamaShareFee = alimamaShareFee;
    }

    public String getTradeParentId() {
        return tradeParentId;
    }

    public void setTradeParentId(String tradeParentId) {
        this.tradeParentId = tradeParentId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Integer getTkCreateTime() {
        return tkCreateTime;
    }

    public void setTkCreateTime(Integer tkCreateTime) {
        this.tkCreateTime = tkCreateTime;
    }

    public String getFlowSource() {
        return flowSource;
    }

    public void setFlowSource(String flowSource) {
        this.flowSource = flowSource;
    }

    public String getTerminalType() {
        return terminalType;
    }

    public void setTerminalType(String terminalType) {
        this.terminalType = terminalType;
    }

    public Integer getClickTime() {
        return clickTime;
    }

    public void setClickTime(Integer clickTime) {
        this.clickTime = clickTime;
    }

    public Integer getTkStatus() {
        return tkStatus;
    }

    public void setTkStatus(Integer tkStatus) {
        this.tkStatus = tkStatus;
    }

    public Integer getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(Integer itemPrice) {
        this.itemPrice = itemPrice;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getAdzoneName() {
        return adzoneName;
    }

    public void setAdzoneName(String adzoneName) {
        this.adzoneName = adzoneName;
    }

    public Double getTotalCommissionRate() {
        return totalCommissionRate;
    }

    public void setTotalCommissionRate(Double totalCommissionRate) {
        this.totalCommissionRate = totalCommissionRate;
    }

    public String getItemLink() {
        return itemLink;
    }

    public void setItemLink(String itemLink) {
        this.itemLink = itemLink;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public String getSellerShopTitle() {
        return sellerShopTitle;
    }

    public void setSellerShopTitle(String sellerShopTitle) {
        this.sellerShopTitle = sellerShopTitle;
    }

    public Double getIncomeRate() {
        return incomeRate;
    }

    public void setIncomeRate(Double incomeRate) {
        this.incomeRate = incomeRate;
    }

    public Integer getTotalCommissionFee() {
        return totalCommissionFee;
    }

    public void setTotalCommissionFee(Integer totalCommissionFee) {
        this.totalCommissionFee = totalCommissionFee;
    }

    public Integer getTkCommissionPreFeeForMediaPlatform() {
        return tkCommissionPreFeeForMediaPlatform;
    }

    public void setTkCommissionPreFeeForMediaPlatform(Integer tkCommissionPreFeeForMediaPlatform) {
        this.tkCommissionPreFeeForMediaPlatform = tkCommissionPreFeeForMediaPlatform;
    }

    public Integer getTkCommissionFeeForMediaPlatform() {
        return tkCommissionFeeForMediaPlatform;
    }

    public void setTkCommissionFeeForMediaPlatform(Integer tkCommissionFeeForMediaPlatform) {
        this.tkCommissionFeeForMediaPlatform = tkCommissionFeeForMediaPlatform;
    }

    public Double getTkCommissionRateForMediaPlatform() {
        return tkCommissionRateForMediaPlatform;
    }

    public void setTkCommissionRateForMediaPlatform(Double tkCommissionRateForMediaPlatform) {
        this.tkCommissionRateForMediaPlatform = tkCommissionRateForMediaPlatform;
    }

    public Long getSpecialId() {
        return specialId;
    }

    public void setSpecialId(Long specialId) {
        this.specialId = specialId;
    }

    public Long getRelationId() {
        return relationId;
    }

    public void setRelationId(Long relationId) {
        this.relationId = relationId;
    }

    public Integer getTkDepositTime() {
        return tkDepositTime;
    }

    public void setTkDepositTime(Integer tkDepositTime) {
        this.tkDepositTime = tkDepositTime;
    }

    public Integer getTbDepositTime() {
        return tbDepositTime;
    }

    public void setTbDepositTime(Integer tbDepositTime) {
        this.tbDepositTime = tbDepositTime;
    }

    public Integer getDepositPrice() {
        return depositPrice;
    }

    public void setDepositPrice(Integer depositPrice) {
        this.depositPrice = depositPrice;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public Integer getBizStatus() {
        return bizStatus;
    }

    public void setBizStatus(Integer bizStatus) {
        this.bizStatus = bizStatus;
    }

    public String getAlimmUserId() {
        return alimmUserId;
    }

    public void setAlimmUserId(String alimmUserId) {
        this.alimmUserId = alimmUserId;
    }

    public String getAlimmUserName() {
        return alimmUserName;
    }

    public void setAlimmUserName(String alimmUserName) {
        this.alimmUserName = alimmUserName;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getAlscId() {
        return alscId;
    }

    public void setAlscId(String alscId) {
        this.alscId = alscId;
    }

    public String getAlscPid() {
        return alscPid;
    }

    public void setAlscPid(String alscPid) {
        this.alscPid = alscPid;
    }

    public String getShareRelativeRate() {
        return shareRelativeRate;
    }

    public void setShareRelativeRate(String shareRelativeRate) {
        this.shareRelativeRate = shareRelativeRate;
    }

    public String getShareFee() {
        return shareFee;
    }

    public void setShareFee(String shareFee) {
        this.shareFee = shareFee;
    }

    public String getSharePreFee() {
        return sharePreFee;
    }

    public void setSharePreFee(String sharePreFee) {
        this.sharePreFee = sharePreFee;
    }

    public Integer getTkShareRoleType() {
        return tkShareRoleType;
    }

    public void setTkShareRoleType(Integer tkShareRoleType) {
        this.tkShareRoleType = tkShareRoleType;
    }

    public String getLxRid() {
        return lxRid;
    }

    public void setLxRid(String lxRid) {
        this.lxRid = lxRid;
    }

    public String getIsLx() {
        return isLx;
    }

    public void setIsLx(String isLx) {
        this.isLx = isLx;
    }

    public String getMarketingType() {
        return marketingType;
    }

    public void setMarketingType(String marketingType) {
        this.marketingType = marketingType;
    }

    public Integer getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Integer modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
}